curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Test 1061 flaky when run without valgrind

From: Fabian Keil via curl-library <curl-library_at_cool.haxx.se>
Date: Fri, 8 Jan 2021 20:43:16 +0100

Hi,

using a curl binary built from git master 060658f634, test 1061
works reliably for me when valgrind is being used but is flaky
without it:

    fk_at_t520 ~/git/curl/tests $./runtests.pl -n 1061 1061 1061 1061 1061 1061 1061 1061 1061 1061
    ********* System characteristics ********
    * curl 7.75.0-DEV (amd64-unknown-freebsd11.4)
    * libcurl/7.75.0-DEV OpenSSL/1.1.1i zlib/1.2.11 brotli/1.0.9 zstd/1.4.5 libidn2/2.3.0 libpsl/0.21.1 (+libidn2/2.3.0) nghttp2/1.42.0
    * Features: alt-svc AsynchDNS brotli Debug HTTP2 HTTPS-proxy IDN IPv6 Largefile libz NTLM NTLM_WB PSL SSL TLS-SRP TrackMemory UnixSockets zstd
    * Disabled:
    * Host: t520.local
    * System: ElectroBSD t520.local 11.4-STABLE ElectroBSD 11.4-STABLE #2 r368530+b956f65cb108(electrobsd): Sat Dec 12 08:37:23 UTC 2020 fk_at_t520.local:/usr/obj/usr/src/sys/ELECTRO_BEER amd64
    * OS: freebsd
    *
    *** DISABLES memory tracking when using threaded resolver
    *
    * Servers: HTTP-IPv6 HTTP-unix FTP-IPv6
    * Env:
    * Seed: 265959
    *****************************************
    test 1061...[HTTP proxy CONNECT auth Digest, large headers and chunked data]
    --pd---e--- OK (1 out of 10 , remaining: 00:13, took 1.471s, duration: 00:01)
    test 1061...[HTTP proxy CONNECT auth Digest, large headers and chunked data]
    --pd---e--- OK (2 out of 10 , remaining: 00:06, took 0.229s, duration: 00:01)
    test 1061...[HTTP proxy CONNECT auth Digest, large headers and chunked data]
    --pd---e--- OK (3 out of 10 , remaining: 00:04, took 0.193s, duration: 00:01)
    test 1061...[HTTP proxy CONNECT auth Digest, large headers and chunked data]
    --pd---e--- OK (4 out of 10 , remaining: 00:03, took 0.192s, duration: 00:02)
    test 1061...[HTTP proxy CONNECT auth Digest, large headers and chunked data]

     1061: protocol FAILED:
    --- log/check-expected 2021-01-08 20:25:33.229181000 +0100
    +++ log/check-generated 2021-01-08 20:25:33.229096000 +0100
    _at__at_ -3,12 +3,6 _at__at_
     User-Agent: curl/7.75.0-DEV[CR][LF]
     Proxy-Connection: Keep-Alive[CR][LF]
     [CR][LF]
    -CONNECT test.remote.haxx.se.1061:8990 HTTP/1.1[CR][LF]
    -Host: test.remote.haxx.se.1061:8990[CR][LF]
    -Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="test.remote.haxx.se.1061:8990", response="4e23449fa93224834299e7282a70472c"[CR][LF]
    -User-Agent: curl/7.75.0-DEV[CR][LF]
    -Proxy-Connection: Keep-Alive[CR][LF]
    -[CR][LF]
     GET /path/10610002 HTTP/1.1[CR][LF]
     Host: test.remote.haxx.se.1061:8990[CR][LF]
     User-Agent: curl/7.75.0-DEV[CR][LF]

     - abort tests
    TESTDONE: 4 tests out of 5 reported OK: 80%

    TESTFAIL: These test cases failed: 1061

    TESTDONE: 5 tests were considered during 2 seconds.

When it fails, it's always because of the missing CONNECT request.

I haven't executed the tests in a while so I'm not sure
if this is a new issue.

Is anyone else seeing this?

Fabian


-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.se/mail/etiquette.html
Received on 2021-01-08